#include "GetFilesInDir.h"
#include <bytetypes.h>
using namespace std;

s32 main(s32 argc, s8* args[])
{
	if (argc != 2)
		return 0;
	vector<string> filesInDir;
	GetFilesInDir(args[1], filesInDir);
	
	for (u32 i = 0; i < filesInDir.size(); ++i)
	{
		u32 fileNameStrSize = filesInDir[i].size();
		if (filesInDir[i][fileNameStrSize - 2] == '.' &&
			filesInDir[i][fileNameStrSize - 1] == 'h')
		{
			printf("#include \"%s\"\n", filesInDir[i].c_str());
		}
	}
	system("pause");
	return 0;
}